﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class UserCache
    {
        public string UserHeadImg { get; set; }
        /// <summary>
        /// 是否为超级管理员
        /// </summary>
        public bool IsSuperAdmin { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 部门ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 用户名/工号
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 英文姓名
        /// </summary>
        public string EnglishName { get; set; }
        /// <summary>
        /// 用户登录token
        /// </summary>
        public string UserToken { get; set; }
        /// <summary>
        /// 邮箱账号
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 所属业务线ID,
        /// </summary>
        public List<int> BzIds { get; set; }
        /// <summary>
        /// 用户token过期时间
        /// </summary>
        public DateTime ExpireTime { get; set; }
        
        public List<int> UserRoleIds { get; set; }
        
        public string MobilePhone { get; set; }
    }
}
